How to do only windows 8 32b



What feature you need? Run it as scheduled task and move on.

C:\ksmhost\task.xml:





C:\kmshost\kmscharge.cmd (replace x.x.x.x with KMS host IP/fqdn):


@echo Off
set port=1688
for /f "tokens=2,*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "KeyManagementServicePort" 2^>NUL ^| findstr KeyManagementServicePort') do set port=%%b

net start sppsvc
"%systemdrive%\kmshost\kms client.exe" %port% x.x.x.x Windows
"%systemdrive%\kmshost\kms client.exe" %port% x.x.x.x Office2010
"%systemdrive%\kmshost\kms client.exe" %port% x.x.x.x Office2013




Import the task:
Code:
schtasks.exe /create /tn "KMS Charger" /xml %systemdrive%\kmshost\task.xml